package cn.iocoder.yudao.module.study.message.handle.impl;

import cn.iocoder.yudao.module.study.message.vo.MsgVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author cjc
 * @Date 2024/3/19 16:32
 * @Description: 微信消息发送实现类
 * @Version 1.0
 */
@Service
@Slf4j
public class WxSendMsgImpl extends AbstractSendMsgImpl{


    @Override
    public void doSendMsg(MsgVO msgVO) {
        log.info("enter into WxSendMsgImpl.doSendMsg");
        try{
            //todo 执行微信消息发送的逻辑
            log.info(msgVO.toString());
            log.info("微信消息发送中...");
        }catch (Exception e){
            log.error("WxSendMsgImpl.doSendMsg 微信消息发送异常：{}", e.getMessage());
        }
        log.info("finish WxSendMsgImpl.doSendMsg");
    }
}
